Enum Effects.BlendID

Constants for blend mode IDs.

All blending modes except OPAQUE, ADDITIVE, DISTORTION and ALPHA_TEST will use depth sorting for applicable polygons. This may reduce engine performance, so it is preferable to minimize usage of other blending modes.

Members

OPAQUE No transparency.
ALPHA_TEST So called "magenta transparency", every pixel can be either fully transparent or opaque.
ADDITIVE Standard additive blending.
DISTORTION Heat haze / distortion effect using luminance to drive optical displacement.
SUBTRACTIVE Subtractive blending, with brighter texture areas making everything darker behind them.
EXCLUDE Produces "inversion" effect.
SCREEN Similar to ADDITIVE, but without excessive overbright.
LIGHTEN Similar to SCREEN, but with a little different blending formula.
ALPHA_BLEND True alpha blending.


Members

OPAQUE
No transparency.
ALPHA_TEST
So called "magenta transparency", every pixel can be either fully transparent or opaque.
ADDITIVE
Standard additive blending.
DISTORTION
Heat haze / distortion effect using luminance to drive optical displacement. Applied as a post-process pass.
SUBTRACTIVE
Subtractive blending, with brighter texture areas making everything darker behind them.
EXCLUDE
Produces "inversion" effect.
SCREEN
Similar to ADDITIVE, but without excessive overbright.
LIGHTEN
Similar to SCREEN, but with a little different blending formula.
ALPHA_BLEND
True alpha blending. Should be used for textures with gradually changing alpha values.
generated by TEN-LDoc (a fork of LDoc 1.4.6)